package com.cloud.drore.eboss.supplier.mapper;

import com.cloud.drore.eboos.common.base.MyMapper;
import com.cloud.drore.eboss.supplier.entity.DistributorProductAssociation;
import org.apache.ibatis.annotations.Update;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 浙江卓锐科技股份有限公司 版权所有  Copyright 2018<br>
 *
 * @Description: <br>
 * @Project: eboos <br>
 * @CreateDate: Created in 2018/2/1 11:02 <br>
 * @Author: <a href="1451173193@qq.com">杨亮</a>
 */
public interface DistributorProductAssociationMapper extends MyMapper<DistributorProductAssociation> {
    @Update("update eboos_distributor_product_association set created_by=#{created_by},created_date=#{created_date},settlement_price=#{supplier_price},sales_price=#{supplier_price} where main_id=#{product_id}")
    void updateCooperationSupplierPriceByParam(Map<String, Object> param);
}
